package com.fanrui.code.chess;

import com.google.gson.annotations.Expose;

public abstract class AbstractChessCard implements IChessCard {
	@Expose
	private final int id;
	@Expose
	private final int number;
	
	public AbstractChessCard(int id, int number) {
		this.id = id;
		this.number = number;
	}

	@Override
	public int getId() {
		return id;
	}

	@Override
	public int getNumber() {
		return number;
	}

}
